<template>
  <div class="content_box">
    <div class="nr_box" v-html="content"></div>
  </div>
</template>
 
<script>
import { 
  getPlatformAgreement
} from "@/api/index";
export default {
  components: {
  },
  data() {
    return{
      content:'',
      storeId:''
    }
  },
  onShow() {
    this.getXieyi()
  },
  methods: {
    
    // 查询协议
    getXieyi(){
      getPlatformAgreement({storeId:'766639530495164416'}).then(res=>{
        if(res.statusCode == '00000'){
          this.content = res.data.platformAgreement
        }
      })
    }
  },
  onHide() {},
  onLoad(options) {
    this.storeId = options.storeId
  },
  onUnload() {
  },
  created() {}
};
</script>

<style lang="scss"  scoped>
.content_box {
  margin:0 30rpx;
  padding-top:30rpx;
  font-size:28rpx;
  line-height: 46rpx;
  /deep/.ql-align-center{
    text-align: center;
  }
  /deep/.ql-align-right{
    text-align: right;
  }
}
</style>
